popover: Remove double assignment
authorTimm Bäder <mail@baedert.org>
Mon, 14 Aug 2017 17:27:50 +0000 (19:27 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 14 Aug 2017 19:29:18 +0000 (21:29 +0200)
gtk/gtkpopover.c

index 4e7002ac2b1aa37fc3f9273e36dc9a0c97f51b0f..f52d7b54ad7bbbc3bcfbbddd5edf9d1014aad955 100644 (file)
@@ -849,7 +849,6 @@ gtk_popover_get_gap_coords (GtkPopover      *popover,
   gtk_style_context_get (context,
                          GTK_STYLE_PROPERTY_BORDER_RADIUS, &border_radius,
                          NULL);
-  pos = get_effective_position (popover, priv->final_position);
 
   if (pos == GTK_POS_BOTTOM || pos == GTK_POS_RIGHT)
     {